<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test</title>
</head>
<body>
<ul>
    {foreach $data as $v}
    <li>{$v['id']}</li>
    <li>{$v['name']}</li>
    {/foreach}
</ul>

</body>
</html>